#include "ZenObject.h"

CZenObject::CZenObject()
{
//	m_strName		= 0;
	m_pNext			= NULL;
	m_pParentFrame	= NULL;
}

CZenObject::~CZenObject()
{
//	if (m_strName)
//		delete m_strName;

//	if (m_pNext) 
//		delete m_pNext;

//	if (m_pParentFrame) 
//		delete m_pParentFrame;
}

void CZenObject::SetNext(CZenObject * pNext)
{
	m_pNext = pNext;
}

void * CZenObject::GetNext()
{
	return m_pNext;
}

void * CZenObject::GetParentFrame()
{
	return m_pParentFrame;
}

void CZenObject::SetParentFrame(void * pFrame)
{
	m_pParentFrame = pFrame;
}

int CZenObject::GetSize()
{
	return sizeof(*this);
}
